package cn.buk.tms.eotms.service;

import cn.buk.common.JsonResult;
import cn.buk.tms.eotms.request.ChangeOrderRequestDto;
import cn.buk.tms.eotms.response.ChangeOrderResponseDto;
import cn.buk.tms.eotms.sc.SearchFlightOrderCriteria;
import cn.buk.tms.exception.BaseException;

import java.util.List;

/**
 * @author yfdai
 */
public interface ChangeOrderService {

  List<ChangeOrderResponseDto> searchChangeOrders(int userId, SearchFlightOrderCriteria sc);

  ChangeOrderResponseDto getFlightChangeOrderDetail(int userId, int id) throws BaseException;

  JsonResult createFlightChangeOrder(int userId, ChangeOrderRequestDto dto) throws BaseException;
}
